package com.wei.czz.common.property;

import com.wei.czz.common.tool.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotBlank;

/**
 * Created by IntelliJ IDEA.
 *
 * @author wyw
 * date: 2024-05-05 11:19:40
 * className: FileImportProperty
 * version: 1.0
 * description:
 */
@Getter
@Setter
@Component
@ConfigurationProperties(prefix = "system.import.file")
@Validated
public class FileImportProperty extends BaseEntity {

    /**
     * 文件存储路径
     */
    @NotBlank(message = "文件存储路径不能为空")
    private String storagePath;

    /**
     * 切片存储路径
     */
    @NotBlank(message = "切片存储路径不能为空")
    private String sliceStoragePath;

}

